package com.ponhu.ea2.stockcenter.provider.service.entity;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ponhu.ea2.stockcenter.provider.entity.StockWarehouseChangeSettings;

/**
 * 仓库库存操作配置表服务类
 */
public interface StockWarehouseChangeSettingsService extends IService<StockWarehouseChangeSettings> {

    /**
     * 获取当前请求事件动态类型的配置，先从Redis缓存获取，再从数据库获取
     * @param recordChannel
     * @param actionType
     * @return
     */
    StockWarehouseChangeSettings getWarehouseChangeSettingsByType(Integer recordChannel, Integer actionType);

}
